package com.lbmb.mdps.settings.dao;

import com.lbmb.mdps.commons.domain.EmployeeReceive;
import com.lbmb.mdps.commons.domain.UserReceive;
import com.lbmb.mdps.settings.domain.Employee;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 0:54
 * description
 */
public interface EmployeeDao {

    Employee login(Employee employee);

    List<Employee> employeePageList(EmployeeReceive employeeReceive);

    Integer getEmployeeTotal(EmployeeReceive employeeReceive);

    int addEmployee(Employee employee);

    int editEmployee(Employee employee);

    int deleteEmployee(String[] deleteEmployeeIds);

    int acceptEmployee(String[] editEmployeeStatusIds);

    int forbiddenEmployee(String[] editEmployeeStatusIds);

    Employee getEmployeeById(Long employeeId);

    List<Employee> getAllEmployee();

    Employee validatePasswordById(UserReceive userReceive);

    int editPassword(UserReceive userReceive);
}
